package com.puccampinas.finalproject.core.persistence.entity;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.puccampinas.finalproject.core.persistence.entity.enums.PaymentStatus;

@XmlRootElement(name = "announcers")
public class Partner extends User implements Serializable {
	
	private static final long serialVersionUID = 8917293812938712L;

	@XmlElement(name = "nome_empresa")
	private String companyName;
	
	@XmlElement
	private String cnpj;
	
	@XmlElement
	private String stateRegister;
	
	@XmlElement(name = "rua")
	private String street;
	
	@XmlElement(name = "numero")
	private Integer number;
	
	@XmlElement(name = "bairro")
	private String district;
	
	@XmlElement(name = "complemento")
	private String complement;
	
	@XmlElement(name = "cep")
	private String cep;
	
	@XmlElement(name = "cidade")
	private String city;
	
	@XmlElement(name = "estado")
	private String state;
	
	@XmlElement(name = "telefone")
	private Integer phone;
	
	@XmlElement
	private Integer cellphone;
	
	@XmlElement(name = "ramo_atividade")
	private String workActivity;
	
	@XmlElement
	private PaymentStatus status;
	
	@XmlElement(name = "follow")
	private Boolean follow; 
	
	public Partner() {
		super();
	}
	
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getCnpj() {
		return cnpj;
	}
	public void setCnpj(String cnpj) {
		this.cnpj = cnpj;
	}
	public String getStateRegister() {
		return stateRegister;
	}
	public void setStateRegister(String stateRegister) {
		this.stateRegister = stateRegister;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public String getDistrict() {
		return district;
	}
	public void setDistrict(String district) {
		this.district = district;
	}
	public String getComplement() {
		return complement;
	}
	public void setComplement(String complement) {
		this.complement = complement;
	}
	public String getCep() {
		return cep;
	}
	public void setCep(String cep) {
		this.cep = cep;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public Integer getPhone() {
		return phone;
	}
	public void setPhone(Integer phone) {
		this.phone = phone;
	}
	public Integer getCellPhone() {
		return cellphone;
	}
	public void setCellPhone(Integer cellphone) {
		this.cellphone = cellphone;
	}
	public String getWorkActivity() {
		return workActivity;
	}
	public void setWorkActivity(String workActivity) {
		this.workActivity = workActivity;
	}
	public PaymentStatus getStatus() {
		return status;
	}
	public void setStatus(PaymentStatus status) {
		this.status = status;
	}
	public Boolean getFollow() {
		return follow;
	}
	public void setFollow(Boolean follow) {
		this.follow = follow;
	}
	@Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
	
}
